package com.dylan.历史.java8.lambda表达式.默认方法;

/**
 * Created by Dylan on 2018/7/19.
 */
public interface Person {

    long getId();

    default String getName() {
        return "Person An Kang";
    }

    default String getSex() {
        return "男";
    }

    default int getAge() {
        return 30;
    }
}
